//
//  TweetCommentViewModel.h
//  OSChina
//
//  Created by 8b410-2 on 17/1/1.
//  Copyright © 2017年 abb. All rights reserved.
//

#import "OSCBaseViewModel.h"
#import "OSCComment.h"
/// 动弹评论ViewModel
@interface OSCTweetCommentViewModel : OSCBaseViewModel
/// 评论人
@property (nonatomic, copy, readonly) NSString *commentAuthor;
/// 评论人ID
@property (nonatomic, assign, readonly) NSInteger commentAuthorId;
/// 发布日期
@property (nonatomic, copy, readonly) NSString *pubDate;
/// 评论内容
@property (nonatomic, copy, readonly) NSAttributedString * content;
/// 评论ID
@property (nonatomic, assign, readonly) NSInteger idField;
/// 评论头像
@property (nonatomic, copy, readonly) NSString *commentPortrait;

/**
 根据评论模型初始化viewModel

 @param comment 评论模型
 @return viewModel
 */
- (instancetype)initWithCommentModel:(OSCComment *)comment;

@end
